Skip to content

feat: add durable execution command contract - #343

Merged
Pigbibi merged 1 commit into
mainfrom
agent/durable-execution-command-model
Aug 24, 2026
Merged

Pigbibi merged 1 commit into
mainfrom
agent/durable-execution-command-model

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add immutable, content-addressed execution commands for next-session routing
  • add create-only durable command/event storage, due-date claim gating, and a strict broker outcome state machine
  • document the paper-first, reconciliation-before-retry rollout; no platform consumer is enabled in this change

Validation

  • PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 PYTHONPATH=src uv run --no-project --with pytest --with pandas --with pytz pytest -q tests/test_execution_commands.py tests/test_execution_state.py (16 passed)
  • uv run --no-project --with ruff ruff check src/quant_platform_kit/common/execution_commands.py tests/test_execution_commands.py

Safety

An uncertain or crashed claim remains blocked/reconciliation-required. The module has no default storage location and does not fall back to execution reports, so an adapter without an explicit durable backend stays disabled. Follow-up staged paper integrations are tracked by #342.

Co-Authored-By: Codex <noreply@openai.com>
@Pigbibi
Pigbibi merged commit 0393349 into main Aug 24, 2026
1 check passed
@Pigbibi
Pigbibi deleted the agent/durable-execution-command-model branch August 24, 2026 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant